package com.zhou.common.operator.log.core.resolver;

import com.zhou.common.operator.log.core.model.PayloadInfo;
import org.aspectj.lang.ProceedingJoinPoint;

public interface OperateResolver {
    String UNKNOWN_RESOURCE_NAME = "未知";

    default PayloadInfo resolvePayloads(ProceedingJoinPoint joinPoint, Object[] arguments) {
        return new PayloadInfo();
    }

    default String resolveRemark(ProceedingJoinPoint joinPoint, Object[] arguments) {
        return "";
    }

    default String resolveOperatingInstru(ProceedingJoinPoint joinPoint, Object[] arguments) {
        return "";
    }

    default String resolveResource(ProceedingJoinPoint joinPoint, Object[] arguments) {
        return "";
    }

    default String resolveOperatingModule(ProceedingJoinPoint joinPoint, Object[] arguments) {
        return "";
    }

    default String resolveAction(ProceedingJoinPoint joinPoint, Object[] arguments) {
        return "";
    }
}
